import 'package:flutter/foundation.dart';

class CounterChangeNotifier extends ChangeNotifier {
  int _count = 0;
  int get count => _count;
  void increment() {
    _count++;
    notifyListeners(); // 通知所有监听器更新
  }
}
